package com.seagull.sb.util;

import com.seagull.sb.domain.Student;
import com.seagull.sb.domain.Teacher;
import com.seagull.sb.security.BaseUser;

public class SBRequestContext {

	public int getOrgId() {
		return orgId;
	}
	public void setOrgId(int orgId) {
		this.orgId = orgId;
	}
	public int getClassId() {
		return classId;
	}
	public void setClassId(int classId) {
		this.classId = classId;
	}
	
	public Teacher getTeacher() {
		return teacher;
	}
	public void setTeacher(Teacher teacher) {
		this.teacher = teacher;
	}
	
	public int getTeacherId() {
		return teacherId;
	}
	public void setTeacherId(int teacherId) {
		this.teacherId = teacherId;
	}

	public Student getStudent() {
		return student;
	}
	public void setStudent(Student student) {
		this.student = student;
	}
	public int getStudentId() {
		return studentId;
	}
	public void setStudentId(int studentId) {
		this.studentId = studentId;
	}
	
	public boolean forStudent(){
		return student!=null?true:false;
	}
	public boolean forTeacher(){
		return teacher!=null?true:false;
	}
	
	private int orgId;
	private int classId;
	private int teacherId;
	private int studentId;
	private Student student;
	private Teacher teacher;
	
}
